package com.etennis.pojos.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * (Record)表实体类
 * 比赛记录表
 * @author makejava
 * @since 2024-10-17 17:16:18
 */
@SuppressWarnings("serial")
@Data
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
@TableName("record")
public class Record  {
    @TableId(type = IdType.AUTO)
    //非空
    private Long recordId;

    //非空
    private Long eventId;

    //0单 1双
    //非空
    private String flag;
    
    private Long winA1Id;
    
    private Long winA2Id;
    
    private Long loseB1Id;
    
    private Long loseB2Id;
    
    private Integer pointa;
    
    private Integer pointb;
    
    private Date gameTime;
    
    private String location;

    //0否 1是
    private String seven;

    public Record(Long recordId, String isFinished) {
        this.recordId = recordId;
        this.isFinished = isFinished;
    }

    /**
     * 确认状态
     */
    //0否 1是
    private String isFinished;



}

